package com.macro.mall.service.impl;

import com.github.pagehelper.PageHelper;
import com.macro.mall.mapper.CmsMemberReportMapper;
import com.macro.mall.model.CmsMemberReport;
import com.macro.mall.service.CmsMemberReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CmsMemberReportServiceImpl implements CmsMemberReportService {
    @Autowired
    private CmsMemberReportMapper cmsMemberReportMapper;
    @Override
    public List<CmsMemberReport> list(Integer pageSize, Integer pageNum) {
        PageHelper.startPage(pageNum, pageSize);
        return cmsMemberReportMapper.selectByExample(null);
    }
}
